package com.totoro.mall.mall_buyer.vo;

import lombok.Data;

/**
 * 分页查询后的数据返回
 * Created by Niki on 2018/4/12 9:27
 */
@Data
public class PageDataVO<T> {
    private int currPage;
    private int currSize;
    private int totalPage;
    private T data ;

    public PageDataVO(int currPage, int currSize, int totalPage, T data) {
        this.currPage = currPage;
        this.currSize = currSize;
        this.totalPage = totalPage;
        this.data = data;
    }
}
